<ion-header>
  <ion-navbar>
    <ion-title>历史账单</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <!--<ion-refresher (ionRefresh)="doRefresh($event)">-->
    <!--<ion-refresher-content></ion-refresher-content>-->
  <!--</ion-refresher>-->
  <g-default type="record" title="还没有历史账单" *ngIf="list.length==0"></g-default>
  <g-bill-item *ngFor="let bill of list" [title]="bill.remark" [smallTitle]="bill.datatime | date" [numOne]="bill.balanceAmount" [numTwo]="bill.amount"></g-bill-item>
  <div class="g-no-more" *ngIf="last && list.length>0">无更多数据</div>
  <ion-infinite-scroll (ionInfinite)="getMore($event)" class="g-infinite-scroll" [enabled]="!last">
    <ion-infinite-scroll-content loadingText="加载更多中..."></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
